package dryven.unittest.models.shop;

import java.util.Collection;
import java.util.Date;

public class Client {
	private String _dni;
	private String _name;
	private String _lastname;
	private Date _birthDate;
	private Collection<Purchase> _purchases;
	private boolean _isSponser = false;
	
	
	public String getDni() {
		return _dni;
	}
	public void setDni(String dni) {
		_dni = dni;
	}
	public String getName() {
		return _name;
	}
	public void setName(String name) {
		_name = name;
	}
	public String getLastname() {
		return _lastname;
	}
	public void setLastname(String lastname) {
		_lastname = lastname;
	}
	public Date getBirthDate() {
		return _birthDate;
	}
	public void setBirthDate(Date birthDate) {
		_birthDate = birthDate;
	}
	public Collection<Purchase> getPurchases() {
		return _purchases;
	}
	public void setPurchases(Collection<Purchase> purchases) {
		_purchases = purchases;
	}
	
	public boolean isSponsor() {
		return _isSponser;
	}
	
	public void setSponser(boolean sponser) {
		_isSponser = sponser;
	}
}
